const SET_DIALOGTYPE = 'SET_DIALOGTYPE' // 弹框保存状态
const SET_TABBARTYPE = 'SET_TABBARTYPE' // tabbar切换状态
const SET_TABBARINFOTYPE = 'SET_TABBARINFOTYPE' // tabbar角标状态
const SET_PUSHBADGENUM = 'SET_PUSHBADGENUM' // tabbar角标状态

// this.$store.commit("SET_TABBARINFOTYPE", "")
const matutaions = {
	// 弹框状态
	[SET_DIALOGTYPE](state, data) {
		state.dialogType = data
	},
	[SET_TABBARTYPE](state, data) {
		state.tabActive = data
	},
	[SET_TABBARINFOTYPE](state, data) {
		state.tabbars = data
	},
	[SET_PUSHBADGENUM](state, data) {
		state.pushBadgeNum = data
	}

}

export default matutaions
